Accept or reject tendered shipments.

SecurityAuthToken
Request
path Parameters
tenderId
required
string <uuid>
Request Body schema: application/json
required
rejection_code
string or null
Enum: "A13" "EQU" "CPU" "LL1" "LL2" "CNA" "ASE"
rejection_reason
string or null
type
required
string
Enum: "ACCEPT" "REJECT"
Responses
200

Accepted or Rejected SpotNegotiations

Response Schema: application/json
carrier_status
string or null
Enum: "ACTIVE" "INACTIVE" "DO_NOT_USE"
closed_by_customer_at
string or null <date-time>
closed_by_vendor_at
string or null <date-time>
created_at
string or null <date-time>
object (SlimCompany)
id
string or null <uuid>
required
Array of objects (User)
required
Array of objects (User)
is_most_recent_winner
boolean
message_count
integer or null
Array of objects (Quote)

Optional list of quotes included on this spot negotiation

updated_at
string or null <date-time>
object (SlimCompany)
default

Default error response

post/shipments/tenders/{tenderId}/actions/
Request samples
application/json
{
  • "rejection_code": "A13",
  • "rejection_reason": "string",
  • "type": "ACCEPT"
}
Response samples
application/json
{
  • "carrier_status": "ACTIVE",
  • "closed_by_customer_at": "2019-08-24T14:15:22Z",
  • "closed_by_vendor_at": "2019-08-24T14:15:22Z",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": {
    },
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "involved_customer_users": [
    ],
  • "involved_vendor_users": [
    ],
  • "is_most_recent_winner": true,
  • "message_count": 0,
  • "quotes": [
    ],
  • "updated_at": "2019-08-24T14:15:22Z",
  • "vendor": {
    }
}
Copyright © Shipwell 2024. All right reserved.